<?php


namespace app\admin\service;


class GenerateToken
{
    public static function getToken(){
       $token = base64_encode(sha1(config('route.a').getRandChar(32).time()));
       return $token;
    }

}